package com.huangpeng.designmodel.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author huangpeng
 * @Title 税费类型实体
 * @Package
 * @Date 2020/10/22 10:47
 * @Description 税费类型集合
 * @Version 1.0
 */
public class Tax implements Serializable {
    /**
     * 税费Id
     */
    private int taxId;
    /**
     * 税费类型
     */
    private String taxType;
    /**
     * 税率
     */
    private BigDecimal taxRate;
    /**
     * 税费名称
     */
    private String taxName;

    public Tax(int taxId, String taxType, BigDecimal taxRate, String taxName) {
        this.taxId = taxId;
        this.taxType = taxType;
        this.taxRate = taxRate;
        this.taxName = taxName;
    }

    public int getTaxId() {
        return taxId;
    }

    public void setTaxId(int taxId) {
        this.taxId = taxId;
    }

    public String getTaxType() {
        return taxType;
    }

    public void setTaxType(String taxType) {
        this.taxType = taxType;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public String getTaxName() {
        return taxName;
    }

    public void setTaxName(String taxName) {
        this.taxName = taxName;
    }

    @Override
    public String toString() {
        return "Tax{" +
                "taxId=" + taxId +
                ", taxType='" + taxType + '\'' +
                ", taxRate=" + taxRate +
                ", taxName='" + taxName + '\'' +
                '}';
    }
}
